﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ProTrack.Entity
{

    /// <summary>
    /// 客户管理类
    /// </summary>
    public class Client
    {
        /// <summary>
        /// 客户ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 外部系统ID
        /// </summary>
        public string ExternalId { get; set; }

        /// <summary>
        /// 客户编码
        /// </summary>
        public string ClientCode { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        public string ClientName { get; set; }

        /// <summary>
        /// 客户简称
        /// </summary>
        public string ClientNick { get; set; }

        /// <summary>
        /// 客户英文名称
        /// </summary>
        public string ClientEn { get; set; }

        /// <summary>
        /// 客户简介
        /// </summary>
        public string ClientDes { get; set; }

        /// <summary>
        /// 客户LOGO地址
        /// </summary>
        public string ClientLogo { get; set; }

        /// <summary>
        /// 客户类型，默认为企业
        /// </summary>
        public string ClientType { get; set; }

        /// <summary>
        /// 客户地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 客户官网地址
        /// </summary>
        public string Website { get; set; }

        /// <summary>
        /// 客户邮箱地址
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// 客户电话
        /// </summary>
        public string Tel { get; set; }

        /// <summary>
        /// 联系人1
        /// </summary>
        public string Contact1 { get; set; }

        /// <summary>
        /// 联系人1-电话
        /// </summary>
        public string Contact1Tel { get; set; }

        /// <summary>
        /// 联系人1-邮箱
        /// </summary>
        public string Contact1Email { get; set; }

        /// <summary>
        /// 联系人2
        /// </summary>
        public string Contact2 { get; set; }

        /// <summary>
        /// 联系人2-电话
        /// </summary>
        public string Contact2Tel { get; set; }

        /// <summary>
        /// 联系人2-邮箱
        /// </summary>
        public string Contact2Email { get; set; }

        /// <summary>
        /// 统一社会信用代码
        /// </summary>
        public string CreditCode { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public char EnableFlag { get; set; }

        /// <summary>
        /// 出库上限
        /// </summary>
        public int OutMax { get; set; }

        /// <summary>
        /// 出库下限
        /// </summary>
        public int OutMin { get; set; }

        /// <summary>
        /// 客户订单号
        /// </summary>
        public string OrderNumber { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        public string Creator { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新者
        /// </summary>
        public string Updater { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 是否删除，默认为否
        /// </summary>
        public bool Deleted { get; set; }
    }
}
